import ZZYRequest from '../index'


// export function accountLoginRequest(account) {
//   return ZZYRequest.post<IDdtaType<ILoginResult>>({
//     //服务器地址
//     url: LoginAPI.AccountLogin,
//     data: account
//   })
// }
export function getcontents(data) {
  return ZZYRequest.get({
    url: "main",
    data
  })
}
export function getdatalist(data) {
  return ZZYRequest.get({
    url: "main",
    data
  })
}
export function getwsmsg(userid) {
    return ZZYRequest.get({
        url:`/wspvmsg/${userid}`,
    })
}
export function getmsg(userid) {
  return ZZYRequest.get({
      url:`/pvmsg/${userid}`,
  })
}


